﻿/// <reference name="MicrosoftAjax.js"/>
Sys.Application.add_init(App_Init);

function App_Init() {
    Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(BeginRequest);
    Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequest);
}
function BeginRequest(sender, args) {
    $("input").attr('disabled', true);
    $("select").attr('disabled', true);
}
function EndRequest(sender, args) {
    $("input").attr('disabled', false);
    $("select").attr('disabled', false);
}